//
//  TransitioningAnimator.m
//  TransitioningDelegateManager
//
//  Created by Apple on 2018/3/21.
//  Copyright © 2018年 LYKM. All rights reserved.
//

#import "TransitioningAnimator.h"

@interface TransitioningAnimator ()

/** 蒙版背景  */
@property (nonatomic,strong) UIView *maskContentView;


@end

@implementation TransitioningAnimator

#pragma mark -- UIViewControllerAnimatedTransitioning

- (NSTimeInterval)transitionDuration:(nullable id <UIViewControllerContextTransitioning>)transitionContext {
    return 1.0;
}

- (void)animateTransition:(id <UIViewControllerContextTransitioning>)transitionContext {

    //1.获取所有视图
    UIView *fromView = [transitionContext viewForKey:UITransitionContextFromViewKey];
    UIView *toView = [transitionContext viewForKey:UITransitionContextToViewKey];
    UIView *containerView = [transitionContext containerView];
    
    self.maskContentView = [];
    
}

@end

